#ifndef INCLUDE_COMPRESS
#define INCLUDE_COMPRESS

#include <cstdint>
#include <vector>
#include <string>

class CompressData
{
public:
    enum EmCompressStatus
    {
        EmCompressInit,
        EmCompressFinish,
        EmCompressFail,
    };
public:
    CompressData();
    virtual int Compress(const unsigned char * data, int length, std::string & compress_data);
    virtual int UnCompress(const std::string & compress_data, char * data_buffer, int length);
    virtual int CRC32(const uint8_t * data, int length);
private:
};



#endif//!INCLUDE_COMPRESS
